*{
    padding: 0;
    margin: 0;
}
.rule{
    width: 900px;
    height: 30px;
    list-style: 30px;
    text-align: center;
    background: rgb(248, 35, 255);
    color: #fff;
    margin: 0 auto 0 auto;
}
.score_container{
    margin:0 auto 0 auto;
    width: 500px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}
#score{
    display: inline-block;
}
.restart{
    display: block;
    margin: 10px auto;
    width: 130px;
    height: 50px;
    background-color: #f2b179;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    line-height: 50px;
}
.restart:hover{
    cursor: pointer;
    color: #f72104;
}
#game_result{
    width: 500px;
    height: 0px;
    margin: 0 auto 10px auto;
    border-radius: 10px;
    text-align: center;
    line-height: 60px;
    font-weight: bold;
    font-size: 25px;
}
.container{
    width: 500px;
    height: 500px;
    margin: auto;
    border-radius: 2%;
    position: relative;
    background-color: #BBADA0;
}
.game-cell{
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: #CCC0B3;
    text-align: center;
    font-size: larger;
    border-radius: 10%;
}
.num{
    width: 0px;
    height: 0px;
    color: #fff;
    border-radius: 10px;
    font-size: 40px;
    text-align: center;
    position: absolute;
}
.num2{
    background: #eee4da;
    color: #776e65;
}
.num4{
    background: #ede0c8;
    color: #776e65;
}
.num8{
    background: #f2b179;
}
.num16{
    background: #f59563;
}
.num32{
    background: #f67c5f;
}
.num64{
    background: #f65e3b;
}
.num128{
    background: #40E0D0;
    font-size: 35px;
}
.num256{
    background: #edcc61;
    font-size: 35px;
}
.num512{
    background: #9c0;
    font-size: 35px;
}
.num1024{
    background: #33b5e5;
    font-size: 30px;
}
.num2048{
    background: #09c;
    font-size: 30px;
}